package cgl.narada.service.p2pRelayServer;

import java.net.SocketAddress;

public class ClientInformation {

   private String clientID;
   private SocketAddress globalAddress;
   private SocketAddress privateAddress;

   /**
    * @return Returns the clientID.
    */
   public synchronized final String getClientID() {
      return clientID;
   }

   /**
    * @param clientID
    *           The clientID to set.
    */
   public synchronized final void setClientID(String clientID) {
      this.clientID = clientID;
   }

   /**
    * @return Returns the globalAddress.
    */
   public synchronized final SocketAddress getGlobalAddress() {
      return globalAddress;
   }

   /**
    * @param globalAddress
    *           The globalAddress to set.
    */
   public synchronized final void setGlobalAddress(SocketAddress globalAddress) {
      this.globalAddress = globalAddress;
   }

   /**
    * @return Returns the privateAddress.
    */
   public synchronized final SocketAddress getPrivateAddress() {
      return privateAddress;
   }

   /**
    * @param privateAddress
    *           The privateAddress to set.
    */
   public synchronized final void setPrivateAddress(SocketAddress privateAddress) {
      this.privateAddress = privateAddress;
   }

}